﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FantastPlatform.Framework.Core;
using FantastPlatform.Framework.IModel;
using Newtonsoft.Json;
using FantastPlatform.Framework.Common.Serializable;

namespace FantastPlatform.Framework.Model
{
   public class EmployeePost:Version<IEmployeePost>,IEmployeePost
    { 

        #region IEmployeePost 成员

       [JsonConverter(typeof(InterfaceConverter<Employee>))]
        public virtual IEmployee Employee{get;set;}
       [JsonConverter(typeof(InterfaceConverter<Post>))]
        public virtual IPost Post { get; set; }
       [JsonConverter(typeof(InterfaceConverter<JobType>))]
        public virtual IJobType JobType { get; set; }

        #endregion
    }
}
